hi this is my first post
the result isn't correct i always obtain 0.00 also if, for example, i write 8 and 2 as scanned number. why?Code:#include <stdio.h> #include <stdlib.h> int main() { int a,b; printf("Insert 2 numbers:\n"); scanf("%d%d",&a,&b); printf("Result is: %f \n",a/b); system("pause"); return 0; }